#include "setoptionsdlg.h"

SetOptionsDlg::SetOptionsDlg(QWidget *parent) :
    QDialog(parent){
    setupUi(this);
}

void SetOptionsDlg::changeEvent(QEvent *e)
{
    QDialog::changeEvent(e);
    switch (e->type()) {
    case QEvent::LanguageChange:
        retranslateUi(this);
        break;
    default:
        break;
    }
}

int SetOptionsDlg::nChars(){
	return spnBx->value();
}

int SetOptionsDlg::w(){
	return spnBx_3->value();
}

int SetOptionsDlg::h(){
	return spnBx_2->value();
}
